package com.momo.hotel.service.impl;

import com.momo.hotel.dao.mapping.ext.TbHotelBrankMapperExt;
import com.momo.hotel.dao.pojo.TbHotelBrank;
import com.momo.hotel.service.HotelBrankService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @version 1.0.0
 * @auther Snake
 * @date 2019/7/3 9:54
 */
@Service
public class HotelBrankServiceImpl implements HotelBrankService {
    @Resource
    TbHotelBrankMapperExt hotelBrankMapperExt;

    @Override
    public List<TbHotelBrank> selectHotel(String location) {
        return hotelBrankMapperExt.selectHotel(location);
    }
}
